<div class="content-auto">
<?php echo form_open('cmladmin/printedit',array('class'=>'form-horizontal form-validate'));?>
<fieldset>
    <legend><h4><?php echo $title;?></h4></legend>
    <table class="table-form-submit">
        <tr>
            <td><label for="type">Type *</label></td>
            <td><input value="<?php echo $print['type']; ?>" type="text" name="type" placeholder="---enter print type---" class="form-control" required /></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <?php echo form_hidden('type_id', $print['type_id']) ?>
                <?php echo $form; ?>
            </td>
        </tr>
    </table>
 </fieldset> 
<?php echo form_close();?>
</div>